//
//  WCImgBrowserView.h
//  WCN
//
//  Created by 杨鑫 on 15/6/4.
//  Copyright (c) 2015年 ShanghaiCize Trade And Business Co., Ltd. All rights reserved.
//

#import <UIKit/UIKit.h>
//
#import "WCImageManager.h"

@protocol WCImgBrowserViewDelegate <NSObject>

@required

/**
 *  要显示的图片数
 *
 *  @return cell.allowZoom = NO;
 */
- (NSInteger)numberOfImagesInBrowserView;

/**
 *  返回图片获取的参数
 *
 *  @param index NSInteger
 *
 *  @return WCImgBrowserItem
 */
- (NSString *)browserItemIdForItemAtIndex:(NSInteger)index;
- (WCImageType)browserItemTypeForItemAtIndex:(NSInteger)index;

/**
 *  从哪个view弹出
 *
 *  @return UIImageView
 */
- (UIImageView *)viewOfBrowserViewshowFrom;

/**
 *  关闭到哪个view
 *
 *  @return UIImageView
 */
- (UIImageView *)viewOfBrowserViewRemoveToAtIndex:(NSInteger)index;

/**
 *  开始显示的第几张图
 *
 *  @return NSInteger
 */
- (NSInteger)indexForFirstShow;

@end

@interface WCImgBrowserView : UIView

@property (weak, nonatomic) id<WCImgBrowserViewDelegate> delegate;

@end
